<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/conn.asp"-->
<!--#include file="lib/saferequest.asp"-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<link rel="stylesheet" href="lib/jquery_datatables_lastest/media/css/demo_page.css" type="text/css" />
<link rel="stylesheet" href="lib/jquery_datatables_lastest/media/css/demo_table_jui.css" type="text/css" />
<link rel="stylesheet" href="lib/jquery.ui/themes/base/jquery.ui.all.css" type="text/css" />
<link rel="stylesheet" href="lib/jquery_fancybox_lastest/fancybox/jquery_fancybox_lastest.css" type="text/css" />
<link rel="stylesheet" href="lib/sheet.css" type="text/css" />
<script type="text/javascript" src="lib/jquery_lastest.js"></script>
<script type="text/javascript" src="lib/jquery_datatables_lastest/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="lib/jquery_fancybox_lastest/fancybox/jquery_fancybox_lastest.js"></script>
<script type="text/javascript" src="lib/jquery.ui/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="lib/jquery.ui/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="lib/jquery.ui/ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="lib/jquery.ui/ui/jquery.ui.tooltip.js"></script>
<script type="text/javascript">
	$(function() {
				//$(".contable").addClass("ct");	//载入table样式
				//$(".contable th").addClass("ch");	//载入th样式
				//$(".contable td").addClass("cd");	//载入td样式

				//$("#contable tbody tr:odd").addClass("odd");	//对表格主体内单数行进行样式应用

		$(".contable tbody tr").live('hover',function(){	//对返回的dom进行hover事件捕获
			$(this).toggleClass("over");	//添加css样式
		});

		oTable = $('.contable').dataTable({
			"iDisplayLength": 25,
			"aLengthMenu": [25, 50],
			"bProcessing": true,
			"bServerSide": true,
			//"bSort": false,
			"bAutoWidth": false,
			"aaSorting": [[0,'desc']],
			"aoColumnDefs": [
            { "sClass": 'center', "aTargets": [ 0, -1, -2, -4, -5, -6 ] },
						{ "bSortable": false, "aTargets": [ 0 ] },
						{ "bSearchable": false, "aTargets": [ 0 ] },
						//{ "bVisible": false, "aTargets": [ 1 ] }
        ],
			"sAjaxSource": "customer_processing.asp",
			"bJQueryUI": true,
			"sPaginationType": "full_numbers",
			"oLanguage": {
				"sUrl": "lib/jquery_datatables_lastest/media/language/zh_CN.txt"
			},
			"fnDrawCallback": function() {
        //alert( 'DataTables has redrawn the table' );
				$(".contable .fancybox").fancybox({
					'type':'iframe'
				});
 				$(".title").tooltip({
					open: function() {
					var tooltip = $(this).tooltip("widget");
					$(document).mousemove(function(event) {
						tooltip.position({
							my: "left center",
							at: "right center",
							offset: "15 25",
							of: event
						});
					})
					// trigger once to override element-relative positioning
					.mousemove();
				},
				close: function() {
					$(document).unbind("mousemove");
			}

				
				});
     }

		});
		
	
		
	});
</script>	
</head>
<%
call CheckRights(1,1)
%>

<body>
<div class="navbar">
	<a href="customer.asp">客户信息管理</a>&gt;&gt;<a href="add_customer.asp">添加客户</a>&gt;&gt;
</div>

<table class="contable display">
<thead>
  <tr>
      <th>序号</th>
      <th>客户名称</th>
      <th>客户地址</th>
      <th>装箱地点</th>
      <th>联系人</th>
      <th>联系电话</th>
      <th>注意事项</th>
      <th>业务员</th>
      <th>业务员电话</th>
    </tr>
	</thead>
	<tfoot>
  <tr>
      <th>序号</th>
      <th>客户名称</th>
      <th>客户地址</th>
      <th>装箱地点</th>
      <th>联系人</th>
      <th>联系电话</th>
      <th>注意事项</th>
      <th>业务员</th>
      <th>业务员电话</th>
   </tr>
	</tfoot>
</table>
</body>
</html>
